package com.project.springboot.mongodb.templates.repository;

import com.project.springboot.mongodb.templates.domain.User;

public interface UserRepository {

	void save(User user);

	User findByUserName(String userName);

	long update(User user);

	void deleteById(Long id);

}
